﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MentorBackEnd.Model;
using MentorBackEnd.DA;

namespace MentorBackEnd.Business
{
    public class UserManager
    {
        public static void CreateNewUser(MemaUser user)
        {
            UserDA.CreateNewUser(user);
            return;
        }

        public static MemaUser Autheticate(string email, string password)
        {
            return UserDA.Authenticate(email, password);
        }

        public static List<MemaUser> SelectUser(int userID)
        {
            return UserDA.SelectUser(userID);
        }
    }
}